<?php /* SVN: $Id: $ */ ?>
<div class="projectFlags form js-response-containter">
  <div class="l-curve-top">
    <div class="r-curve-top">
      <div class="top-bg"></div>
    </div>
  </div>
  <div class="shad-bg-lft clearfix">
    <div class="shad-bg-rgt">
      <div class="shad-bg">
      <div class="clearfix main-section">
<?php
$url = Router::url(array('controller'=>'projects','action'=>'view',$this->request->data['Project']['slug']),true);
echo $this->Form->create('ProjectFlag', array('class' => 'normal js-colorbox-form {"responsecontainer":"js-response-containter","redirect_url":"'.$url.'"}'));?>
	<fieldset>
 		<h2><?php echo __l('Report Project');?></h2>
	<?php
	if($this->Auth->user('user_type_id') == ConstUserTypes::Admin):
           echo $this->Form->input('user_id', array('empty' => __l('Select')));
        endif;
		echo $this->Form->input('Project.id', array('type' => 'hidden'));
		echo $this->Form->input('project_flag_category_id', array('label' => __l('Flag Category'), 'empty' => __l('Please Select')));
		echo $this->Form->input('message');
	?>
	</fieldset>
   <div class="submit-block clearfix"><?php echo $this->Form->submit(__l('Submit'));?></div>
   <?php echo $this->Form->end();?>
      </div>
      </div>
    </div>
  </div>
  <div class="l-curve-bot">
    <div class="r-curve-bot">
      <div class="bot-bg"></div>
    </div>
  </div>
  </div>